package com.hoshiicloud.user.param.organization;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
/**
* <p>
* 新增租户机构部门参数
* </p>
*
* @author campchen
* @since 2019-05-27
*/

@Data
@ApiModel(value="新增租户机构部门", description="新增租户机构部门")
public class ComOrganizationDepartmentesAddParam implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(name = "organizationId", value = "机构ID",required = true,example = "")
    @NotNull(message = "机构ID不能为空")
    private Long organizationId;
    

    @ApiModelProperty(name = "parentId", value = "上级机构",required = true,example = "")
    private Long parentId;
    

    @ApiModelProperty(name = "name", value = "部门或事业部名称",required = true, example = "")
    @NotBlank(message = "名称不能为空")
    private String name;
    

    @ApiModelProperty(name = "openPermit", value = "开户许可证", example = "")
    private String openPermit;
    

    @ApiModelProperty(name = "charge", value = "负责人",required = true,example = "")
    @NotNull(message = "负责人不能伟空")
    private String charge;
    

    @ApiModelProperty(name = "idCard", value = "身份证号码", example = "")
    private String idCard;
    

    @ApiModelProperty(name = "bankNumber", value = "对公帐号", example = "")
    private String bankNumber;
    

    @ApiModelProperty(name = "bankName", value = "银行名称", example = "")
    private String bankName;
    

    @ApiModelProperty(name = "bankAddress", value = "所在支行", example = "")
    private String bankAddress;
    

    @ApiModelProperty(name = "taxation", value = "税务登记号", example = "")
    private String taxation;
    

    @ApiModelProperty(name = "piaohao", value = "开票号", example = "")
    private String piaohao;
    

    @ApiModelProperty(name = "telphone", value = "电话号码", example = "")
    private String telphone;
    

    @ApiModelProperty(name = "mobile", value = "手机号码", example = "")
    private String mobile;
    

    @ApiModelProperty(name = "fax", value = "传真", example = "")
    private String fax;
    

    @ApiModelProperty(name = "home", value = "主页", example = "")
    private String home;
    

    @ApiModelProperty(name = "email", value = "邮件", example = "")
    private String email;
    

    @ApiModelProperty(name = "address", value = "公司地址", example = "")
    private String address;
    
    
    
    
    

}
